
@import '../../assets/scss/common.scss';
@import "~taro-ui/dist/style/components/modal.scss";
@import "~taro-ui/dist/style/components/badge.scss";

page{
    background-color: $page-background-color;
}

.page-header{
    padding-top: 20px;

    $size : 80px;
    .user-avatar{
        width: $size;
        border-radius: 50%;
    }

    .greetings-text{
        line-height: $size;
        margin-left: 20px;
        color: $color-brand;
        font-weight: bold;
    }
    
    .near-site{
        $size : 60px;
        line-height: $size;
        border-radius: $size / 2;
        background-color: #ececec;
        color: #666;
        font-size: 24px;
        padding:0 18px;
        display: flex;
        align-items: center;

        .location-icon{
            width: 40px;
            margin-right: 4px;
        }
    }
}

.module{
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 20px;
    
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 50px;

    .item {
        .icon{
            width: 64px;
            margin: auto;
            display: block;
        }

        .title {
            margin-top: 10px;
            font-size: 26px;
            text-align: center;
        }
    }
}

.scan-icon{
    width: 30px;
}

.at-modal__content{
    min-height: 0;
}

.input-deviceno{
    height: 80px;
    border: 1PX solid #E5E5E5;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 4px;
}

.charging-button{
    padding: 5px 5px;
    font-size: 28px;
}